import { request } from 'umi'

export function getUser() {
  let params = {
    t: 1652106472989,
    current: 1,
    size: 10,
  }
  return request('/sys/user/page', {
    params
  })
}

export function getUserSearchList(payload:any){
  let params = {
    t: 1652106472989,
    current: 1,
    size: 10,
    username:payload.username
  }
  return request('/sys/user/page',{
    params
  })
}